# auth_utils.py
from flask_bcrypt import Bcrypt

bcrypt = Bcrypt()


def check_password(hashed_password, password_attempt):
    return bcrypt.check_password_hash(hashed_password, password_attempt)
